The screen shield can now be active (forcing the lock-screen session mode)
without being locked.
https://bugzilla.gnome.org/show_bug.cgi?id=693007
Lang.bind(this, this._updateHaveShutdown));
Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated));
+ Main.screenShield.connect('locked-changed', Lang.bind(this, this._updatePresenceIcon));
this._sessionUpdated();
},
this._iconBox.child = this._idleIcon;
else
this._iconBox.child = this._offlineIcon;
+
+ if (Main.sessionMode.isLocked)
+ this._iconBox.visible = Main.screenShield.locked;
+ else
+ this._iconBox.visible = true;
},
_setupAccounts: function() {